import ElementPlus from 'element-plus';
import 'element-plus/dist/index.css';
import * as ElIcon from '@element-plus/icons-vue'
import router from './router/index.js'
import {createApp} from 'vue'
import App from './App.vue'

const app = createApp(App)
for (let iconName in ElIcon){
    app.component(iconName, ElIcon[iconName])
}


app.use(ElementPlus)
app.use(router)
app.mount('#app')
